#输出两列表中重复部分
num1 = [23,78,9,21,11,87,93,76]
num2 = [23,98,6,87,45,8,12,54,9]

set1 = set(num1)
set2 = set(num2)

print(set1&set2)
